


<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title>QuickIO.NET - QuickIOHashResult</title>
        <meta name="viewport" content="width=device-width">

					<link rel="stylesheet" type="text/css" href="../assets/css/style.css?version=0.9.4.1" />
			<script src="../assets/js/vendor.js?version=0.9.4.1"></script>
			<script src="../assets/js/frame.js?version=0.9.4.1"></script>
		
		<script>hljs.initHighlightingOnLoad();</script>

    </head>
    <body>        
        
		<!-- DropDowns -->
		<div id="dropdown-1" class="dropdown dropdown-tip">
			<ul class="dropdown-menu">
							</ul>
		</div>

		<div id="dropdown-2" class="dropdown dropdown-tip">
			<ul class="dropdown-menu">
							</ul>
		</div>

		<div id="dropdown-3" class="dropdown dropdown-tip">
			<ul class="dropdown-menu">
				
					<li><a href="#QuickIOHashResult"><img alt="Method-Icon" src="../assets/images/icons/method_internal.png"> QuickIOHashResult(Byte[] hashBytes)</a></li>

				
				
					<li><a href="#Format"><img alt="Method-Icon" src="../assets/images/icons/method_public.png"> Format()</a></li>

				
					<li><a href="#Format2"><img alt="Method-Icon" src="../assets/images/icons/method_public.png"> Format(Encoding encoding)</a></li>

				
					<li><a href="#Format3"><img alt="Method-Icon" src="../assets/images/icons/method_public.png"> Format(Encoding encoding, String format)</a></li>

							</ul>
		</div>

		<div id="dropdown-4" class="dropdown dropdown-tip">
			<ul class="dropdown-menu">
				
					<li><a href="#HashBytes"><img alt="Property-Icon" src="../assets/images/icons/properties_public.png"> HashBytes</a></li>

							</ul>
		</div>
		<!-- DropDowns Ende -->

	    <div class="ui-layout-north">
			<div class="toolbar">

									<a href="#" data-dropdown="#dropdown-3" class="button"><img src="../assets/images/icons/method_public.png"/> Methods <span class="info">(4)</span> <i class="icon-caret-down"></i></a>
									<a href="#" data-dropdown="#dropdown-4" class="button"><img src="../assets/images/icons/properties_public.png"/> Properties <span class="info">(1)</span> <i class="icon-caret-down"></i></a>
				
				<div class="right">
					<span class="toolbar-info"> Namespace: SchwabenCode.QuickIO</span>
					<a href="#" id="expand-all-button" class="button"><i class="icon-align-justify" title="Expand all"></i></a>
					<a href="#" id="print-button" class="button"><i class="icon-print" title="Print"></i></a>
				</div>
				<div style="clear:both;"></div>
			</div>
		</div>
        
		<div class="ui-layout-center">

			<div>
				<h3 class="box-title first-heading">Syntax</h3>					
				<div class="syntax-box">
					<pre class="wrap-pre"><code>public class QuickIOHashResult</code></pre>
				</div>

				
				        
				
											<h3 class="box-title">Summary</h3>
						<div class="doc-box markdown">
							<p>This class is used for hash calculations.
Use 
for human readable output.</p>

						</div>
					
					
											<h3 class="box-title">Example</h3>
						<div class="doc-box markdown">
							<pre><code>// Show human readable hash
QuickIOHashResult hashResult = QuickIOFile.CalculateSha256Hash( "C:\temp\image.bin" );
Console.WriteLine("Hash: {0}", hashResult.Format( Encoding.UTF8, "x2" );
</code></pre>

						</div>
					
					
					
					
					
					
				
				
				
				
				
									<h3 class="box-title">Methods</h3>
											















<div id="QuickIOHashResult" class="member">
	<div class="member-header">		
		<a href="#"><i class="icon-caret-right"></i><img src="../assets/images/icons/method_internal.png"/> <p>QuickIOHashResult(Byte[] hashBytes)</p></a>
		
			
				<div class="summary markdown">
					<p>Creates an instance of QuickIOHashResult</p>

				</div>
			
		
	</div>

	<div class="member-content">

		<div class="syntax-box">
			<pre class="wrap-pre"><code>internal void QuickIOHashResult(Byte[] hashBytes)</code></pre>
		</div>		
        
		

		
		
			
				<p class="member-box-title">Parameters</p>
				<div class="member-doc-box markdown">
					
						<p class="key">hashBytes</p>
						
						
									
									<small>Byte[]</small>

														
						
						<div class="inline">
							
						</div>
					
				</div>
			

			

			

			

			

			
						
			

		

		

	</div>
</div>


											















<div id="Format" class="member">
	<div class="member-header">		
		<a href="#"><i class="icon-caret-right"></i><img src="../assets/images/icons/method_public.png"/> <p>Format()</p></a>
		
			
				<div class="summary markdown">
					<p>Formats the HashBytes as a hexadecimal string using UTF8 encoding.</p>

				</div>
			
		
	</div>

	<div class="member-content">

		<div class="syntax-box">
			<pre class="wrap-pre"><code>public String Format()</code></pre>
		</div>		
        
		

		
		
			

			

			
				<p class="member-box-title">Returns</p>
				<div class="member-doc-box">
					<p>Formated string</p>

				</div>
			

			

			

			
				<p class="member-box-title">Example</p>
				<div class="member-doc-box markdown">
					<pre><code>// Show human readable hash
QuickIOHashResult hashResult = QuickIOFile.CalculateSha256Hash( "C:\temp\image.bin" );
Console.WriteLine("Hash: {0}", hashResult.Format( );
</code></pre>

				</div>
			
						
			

		

		

	</div>
</div>


											















<div id="Format2" class="member">
	<div class="member-header">		
		<a href="#"><i class="icon-caret-right"></i><img src="../assets/images/icons/method_public.png"/> <p>Format(Encoding encoding)</p></a>
		
			
				<div class="summary markdown">
					<p>Formats the HashBytes as a hexadecimal string using specified encoding.</p>

				</div>
			
		
	</div>

	<div class="member-content">

		<div class="syntax-box">
			<pre class="wrap-pre"><code>public String Format(Encoding encoding)</code></pre>
		</div>		
        
		

		
		
			
				<p class="member-box-title">Parameters</p>
				<div class="member-doc-box markdown">
					
						<p class="key">encoding</p>
						
						
									
									<small>Encoding</small>

														
						
						<div class="inline">
							<p>Encoding for formatting</p>

						</div>
					
				</div>
			

			

			
				<p class="member-box-title">Returns</p>
				<div class="member-doc-box">
					<p>Formated string</p>

				</div>
			

			

			

			
				<p class="member-box-title">Example</p>
				<div class="member-doc-box markdown">
					<pre><code>// Show human readable hash
QuickIOHashResult hashResult = QuickIOFile.CalculateSha256Hash( "C:\temp\image.bin" );
Console.WriteLine("Hash: {0}", hashResult.Format( Encoding.UTF8 );
</code></pre>

				</div>
			
						
			

		

		

	</div>
</div>


											















<div id="Format3" class="member">
	<div class="member-header">		
		<a href="#"><i class="icon-caret-right"></i><img src="../assets/images/icons/method_public.png"/> <p>Format(Encoding encoding, String format)</p></a>
		
			
				<div class="summary markdown">
					<p>Formats the HashBytes using specified encoding and format.</p>

				</div>
			
		
	</div>

	<div class="member-content">

		<div class="syntax-box">
			<pre class="wrap-pre"><code>public String Format(Encoding encoding, String format)</code></pre>
		</div>		
        
		

		
		
			
				<p class="member-box-title">Parameters</p>
				<div class="member-doc-box markdown">
					
						<p class="key">encoding</p>
						
						
									
									<small>Encoding</small>

														
						
						<div class="inline">
							<p>Encoding for formatting</p>

						</div>
					
						<p class="key">format</p>
						
						
									
									<small>String</small>

														
						
						<div class="inline">
							<p>Pattern for formatting. Use x2 for hexadecimal output.</p>

						</div>
					
				</div>
			

			

			
				<p class="member-box-title">Returns</p>
				<div class="member-doc-box">
					<p>Formated string</p>

				</div>
			

			

			

			
				<p class="member-box-title">Example</p>
				<div class="member-doc-box markdown">
					<pre><code>// Show human readable hash
QuickIOHashResult hashResult = QuickIOFile.CalculateSha256Hash( "C:\temp\image.bin" );
Console.WriteLine("Hash: {0}", hashResult.Format( Encoding.UTF8, "x2" );
</code></pre>

				</div>
			
						
			

		

		

	</div>
</div>


									
									<h3 class="box-title">Properties</h3>
											















<div id="HashBytes" class="member">
	<div class="member-header">		
		<a href="#"><i class="icon-caret-right"></i><img src="../assets/images/icons/properties_public.png"/> <p>HashBytes</p></a>
		
			
				<div class="summary markdown">
					<p>The bytes that represents the calculation result</p>

				</div>
			
		
	</div>

	<div class="member-content">

		<div class="syntax-box">
			<pre class="wrap-pre"><code>public Byte[] HashBytes { get; set; }</code></pre>
		</div>		
        
		

		
		
			

			

			

			

			

			
						
			

		

		

	</div>
</div>


									
									<div class="svg-diagram">
						<h3 class="box-title">Classdiagram</h3>
						<div id="sd-class-diagram" class="svgpan">
														<svg><g transform="translate(0.00, 50.00)"><rect height="186" width="233" x="0.55" y="0.55" fill="#FFFFFF" stroke="#979797" stroke-width="1" /><text x="83.01" y="20.50" fill="" style="" text-anchor="" font-family="" font-size="11.00" onmouseover="" onmouseout=""><![CDATA[public  class]]></text><a xlink:href="../type/QuickIOHashResult.html" xmlns:xlink="xlink"><text x="49.23" y="35.50" fill="#1382CE" style="" text-anchor="" font-family="" font-size="14.00" onmouseover="this.setAttribute('fill', '#F58026')" onmouseout="this.setAttribute('fill', '#1382CE')"><![CDATA[QuickIOHashResult]]></text></a><path d="M0.5,45.50L233.00,45.50" stroke="#979797" stroke-width="1" stroke-dasharray="" /><image width="16.00" height="16.00" x="15.00" y="53.50" preserveAspectRatio="" xlink:href="" xmlns:xlink="xlink" /><a xlink:href="../type/QuickIOHashResult.html#Format" xmlns:xlink="xlink"><text x="40.00" y="65.50" fill="#1382CE" style="" text-anchor="" font-family="" font-size="14.00" onmouseover="this.setAttribute('fill', '#F58026')" onmouseout="this.setAttribute('fill', '#1382CE')"><![CDATA[Format]]></text></a><image width="16.00" height="16.00" x="15.00" y="78.50" preserveAspectRatio="" xlink:href="" xmlns:xlink="xlink" /><a xlink:href="../type/QuickIOHashResult.html#Format2" xmlns:xlink="xlink"><text x="40.00" y="90.50" fill="#1382CE" style="" text-anchor="" font-family="" font-size="14.00" onmouseover="this.setAttribute('fill', '#F58026')" onmouseout="this.setAttribute('fill', '#1382CE')"><![CDATA[Format]]></text></a><image width="16.00" height="16.00" x="15.00" y="103.50" preserveAspectRatio="" xlink:href="" xmlns:xlink="xlink" /><a xlink:href="../type/QuickIOHashResult.html#Format3" xmlns:xlink="xlink"><text x="40.00" y="115.50" fill="#1382CE" style="" text-anchor="" font-family="" font-size="14.00" onmouseover="this.setAttribute('fill', '#F58026')" onmouseout="this.setAttribute('fill', '#1382CE')"><![CDATA[Format]]></text></a><image width="16.00" height="16.00" x="15.00" y="128.50" preserveAspectRatio="" xlink:href="" xmlns:xlink="xlink" /><a xlink:href="../type/QuickIOHashResult.html#QuickIOHashResult" xmlns:xlink="xlink"><text x="40.00" y="140.50" fill="#1382CE" style="" text-anchor="" font-family="" font-size="14.00" onmouseover="this.setAttribute('fill', '#F58026')" onmouseout="this.setAttribute('fill', '#1382CE')"><![CDATA[QuickIOHashResult]]></text></a><path d="M0.5,155.50L233.00,155.50" stroke="#979797" stroke-width="1" stroke-dasharray="" /><image width="16.00" height="16.00" x="15.00" y="163.50" preserveAspectRatio="" xlink:href="" xmlns:xlink="xlink" /><a xlink:href="../type/QuickIOHashResult.html#HashBytes" xmlns:xlink="xlink"><text x="40.00" y="175.50" fill="#1382CE" style="" text-anchor="" font-family="" font-size="14.00" onmouseover="this.setAttribute('fill', '#F58026')" onmouseout="this.setAttribute('fill', '#1382CE')"><![CDATA[HashBytes { get; set; }]]></text></a></g></svg>
						</div>
						<div class="legend">
							<p class="save"><a href="#"><i class="icon-save"></i>save</a></p>
							<p class="resetZoom"><a href="#"><i class="icon-refresh"></i>reset</a></p>
							<p>Drag to pan - Use Mousewheel + Ctrl to zoom</p>
						</div>
					</div>
							</div>
		</div>

    </body>
</html>

